package spring.cloud.tasks.tasks_manager.task_item_assign;

import spring.cloud.tasks.common.task_item_allot.Executor;

import java.util.List;

/**
 * <pre>
 *  taskItemAssignPresentSituation.newOwnTrafficOnlineExecutorList = newOwnTrafficOnlineExecutorList;
 *  taskItemAssignPresentSituation.newDoNotOwnTrafficOnlineExecutorList = newDoNotOwnTrafficOnlineExecutorList;
 *  为什么不对如下两项(List<OnlineExecutor> newOwnTrafficOnlineExecutorList;List<OnlineExecutor> newDoNotOwnTrafficOnlineExecutorList;),
 *  因为如下的两项是上个任务分配版本的，最新分配必须以最新的为准作为参照。
 * </pre>
 */
public class TaskItemAssignPresentSituation {
    List<Executor> oldOnlineExecutorList;

    List<String> lastTaskIdList;
    List<String> lastEnableTaskIdList;
    //
    List<String> lastOnlineExecutorIdList;
    List<String> lastOnlineOwnTrafficExecutorIdList;
    List<String> lastOnlineDoNotOwnTrafficExecutorIdList;
}
